﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace Model
{
    [Table("SysUserRole")]
    public class SysUserRole
    {
        [Key()]
        public Guid ID { get; set; }
        public Guid RoleID { get; set; }
        [MaxLength(100)]
        public string Account { get; set; }
        [ForeignKey("RoleID")]
        public virtual SysRole Role { get; set; }

    }
}
